Einhugur macOS Bridge plugin.

NSDate.FromIntegerPtr Method

Constructs NSDate object from Integer handle coming from declares or 3rd party plugin.

shared FromIntegerPtr(
   dateIntPtr as Integer) as EinhugurCoreBridge.NSDate

Parameters

dateIntPtr
Integer handle coming from declare or 3rd party plugin that points to live NSDate object.

Returns

EinhugurCoreBridge.NSDate

Remarks

Do not pass integer in here that is not actually NSDate handle, doing so would generate crash.

The NSDate class will handle retaining the object once and releasing once the object once the NSDate class is no longer used.

See Also

NSDate Class